package com.jwsoft.manager.common.enums;

import com.bifang.assistant.common.enums.DictType;

public enum EduBlackListTypeEnum   {
    hyj(  "1", "退回原籍就读")
    ;
    private String type;
    private String name;

    EduBlackListTypeEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static EduBlackListTypeEnum getByType(String type) {

        for (EduBlackListTypeEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
